#!/usr/bin/env python
# -*- coding:utf-8 -*-

import io_scene_obj
import bpy

filename = r'D:\Develop\GitRepos\BIM\blender\2018\three.js\models\obj\666\62.obj'
io_scene_obj.import_obj.load(bpy.context, filename)

bpy.data.objects[0].data.name = 'ddd'
bpy.ops.object.duplicate_move(OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'}, TRANSFORM_OT_translate={"value":(0.359199, 3.86482, 0.645722), "constraint_axis":(False, False, False), "constraint_orientation":'GLOBAL', "mirror":False, "proportional":'DISABLED', "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "texture_space":False, "remove_on_cancel":False, "release_confirm":False, "use_accurate":False})
bpy.ops.transform.rotate(value=-0.281152, axis=(-0.744099, 0.176797, -0.644252), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1)
